<template>
    <div>
        <h3>孙子页面</h3>

        <input type="text" v-model="newName">
    </div>
</template>

<script setup>
import { inject } from 'vue';

const newName = inject('newName')

</script>
